<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>我的小店</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/indexhouse.css"/>
	</head>
	<body>
		<!--我的小店页面-->
		<div class="web">
			<!--头部-->
			<header>
				<div class="nav">
					<a href="index.html">店铺</a>
					<h1>Infoscape</h1>
					<p class="generalize_open">推广</p>
				</div>
			</header>
			<!--头部结束-->
			<!--内容-->
			<div class="content">
				<!--信息-->
				<div class="information">
					<a href="income.html">257.50</a>
					<a href="income.html">累计收入</a>
					<div class="record">
						<div class="rec_content visitor">
							<p>5</p>
							<span>昨日访客</span>
						</div>
						<div class="rec_content order_form">
							<p>20</p>
							<span>七日订单</span>
						</div>
						<div class="rec_content sales_volume">
							<p class="iconfont">256.00</p>
							<span>七日销量</span>
						</div>
					</div>
				</div>
				<!--添加商品-->
				<div class="add_commodity">
					<h1 class="iconfont">添加商品</h1>
				</div>
				<!--功能清单-->
				<div class="function_menu">
					<div class="func_menu_1">
						<div class="menu_content">
							<div class="img_wrap">
								<img src="images/images/gift.jpg"/>
							</div>
							<p>商品管理</p>
						</div>
						<div class="menu_content">
							<div class="img_wrap">
								<img src="images/images/tablet.jpg"/>
							</div>
							<p>订单管理</p>
						</div>
						<div class="menu_content">
							<div class="img_wrap">
								<img src="images/images/weixin_g.jpg"/>
							</div>
							<p>微信功能</p>
						</div>
					</div>
					<div class="func_menu_2">
						<div class="menu_content">
							<div class="img_wrap">
								<img src="images/images/user.jpg"/>
							</div>
							<p>用户管理</p>
						</div>
						<div class="menu_content">
							<div class="img_wrap">
								<img src="images/images/shop.jpg"/>
							</div>
							<p>店铺管理</p>
						</div>
						<div class="menu_content">
							<div class="img_wrap">
								<img src="images/images/tongji.jpg"/>
							</div>
							<p>数据统计</p>
						</div>
					</div>
				</div>
			</div>
			<!--内容页尾-->
			<!--尾部-->
			<footer>
				<div class="downav_content">
					<div class="wrap_img">
						<img src="images/images/nav_home_2.jpg"/>
					</div>
					<p>小店</p>
				</div>
				<div class="downav_content">
					<div class="wrap_img">
						<img src="images/images/nav_mar.jpg"/>
					</div>
					<p>市场</p>
				</div>
				<div class="downav_content">
					<div class="wrap_img">
						<img src="images/images/nav_car.jpg"/>
					</div>
					<p>购物车</p>
				</div>
				<div class="downav_content">
					<div class="wrap_img">
						<img src="images/images/nav_my.jpg"/>
					</div>
					<p>我的</p>
				</div>
			</footer>
			<!--结尾-->
		</div>
		</body>
		<!--推广-->
		<div class="generalize">
			<div class="gen_content">
				<div class="menu">
					<div class="img_w">
						<img src="images/images/gen_1.jpg"/>
					</div>
					<p>微信好友</p>
				</div>
				<div class="menu">
					<div class="img_w">
						<img src="images/images/gen_2.jpg"/>
					</div>
					<p>微信朋友圈</p>
				</div>
				<div class="menu">
					<div class="img_w">
						<img src="images/images/gen_3.jpg"/>
					</div>
					<p>新浪微博</p>
				</div>
				<div class="menu">
					<div class="img_w">
						<img src="images/images/gen_4.jpg"/>
					</div>
					<p>QQ好友</p>
				</div>
				<div class="menu">
					<div class="img_w">
						<img src="images/images/gen_5.jpg"/>
					</div>
					<p>QQ空间</p>
				</div>
				<div class="menu">
					<div class="img_w">
						<img src="images/images/gen_6.jpg"/>
					</div>
					<p>手机联系人</p>
				</div>
				<div class="menu">
					<div class="img_w">
						<img src="images/images/gen_7.jpg"/>
					</div>
					<p>老客户</p>
				</div>
				<div class="menu">
					<div class="img_w">
						<img src="images/images/gen_8.jpg"/>
					</div>
					<p>二维码</p>
				</div>
				<div class="menu">
					<div class="img_w">
						<img src="images/images/gen_9.jpg"/>
					</div>
					<p>复制链接</p>
				</div>
			</div>
			<footer class="generalize_off">
				<p>取消</p>
			</footer>
		</div>
		<!--添加商品-->
		<div class="add_commodity_mes">
			<div class="add_commodity_content">
				<div class="menu">
					<div class="img_w">
						<img src="images/images/add_com.jpg"/>
					</div>
					<p>市场选货</p>
				</div>
			</div>
			<footer class="add_commodity_off">
				<p>取消</p>
			</footer>
		</div>
</html>
<script type="text/javascript">
	//推广
			var generalize_open = document.querySelector(".generalize_open");
			var generalize_off = document.querySelector(".generalize_off")
			var generalize_link = document.querySelector(".generalize");
			generalize_open.addEventListener("click",function(){
					generalize_link.classList.add("generalize_link")
			})
			generalize_off.addEventListener("click",function(){
					generalize_link.classList.remove("generalize_link")
			})
			//结束
			//添加商品
			var add_commodity_open = document.querySelector(".add_commodity");
			var add_commodity_off = document.querySelector(".add_commodity_off");
			var add_commodity_mes_link = document.querySelector(".add_commodity_mes");
			add_commodity_open.addEventListener("click",function(){
				add_commodity_mes_link.classList.add("add_commodity_mes_link")
			})
			add_commodity_off.addEventListener("click",function(){
				add_commodity_mes_link.classList.remove("add_commodity_mes_link")
			})
			//结束
		</script>
